* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

.mod-panel {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
}

h1 {
  margin-top: 20px;
}
/* checkbox-group css */
.checkbox-group {
  display: flex;
  justify-content: center;
}
.checkbox-group .cntr {
  margin: 8px;
}

.gradient {
  width: 100%;
  height: 100%;
}

/* button-1 css */
.button-1 {
  padding: 0.8em 1.8em;
  border: 2px solid #000;
  position: relative;
  overflow: hidden;
  background-color: transparent;
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
  transition: 0.3s;
  z-index: 1;
  font-family: inherit;
  color: #000;
  transform: scale(0.9, 0.9);
  margin-left: -0.4em;
}

.button-1::before {
  content: '';
  width: 0;
  height: 300%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  background: #000;
  transition: 0.5s ease;
  display: block;
  z-index: -1;
}

.button-1:hover::before {
  width: 105%;
}

.button-1:hover {
  color: #fff;
}

/* button-2 css */
.button-2 {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  outline-offset: 4px;
  transition: filter 250ms;
  user-select: none;
  touch-action: manipulation;
}

.shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: hsl(0deg 0% 0% / 0.25);
  will-change: transform;
  transform: translateY(2px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(to left, #333 0%, #303133 8%, #303133 92%, hsl(340deg 100% 16%) 100%);
}

.front {
  display: block;
  position: relative;
  padding: 12px 27px;
  border-radius: 12px;
  font-size: 1.1rem;
  color: white;
  background: #777;
  will-change: transform;
  transform: translateY(-4px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.button-2:hover {
  filter: brightness(110%);
}

.button-2:hover .front {
  transform: translateY(-6px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.button-2:active .front {
  transform: translateY(-2px);
  transition: transform 34ms;
}

.button-2:hover .shadow {
  transform: translateY(4px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.button-2:active .shadow {
  transform: translateY(1px);
  transition: transform 34ms;
}

.button-2:focus:not(:focus-visible) {
  outline: none;
}

/* checkbox-1 */
.cbx {
  position: relative;
  top: 1px;
  width: 27px;
  height: 27px;
  margin-right: 10px;
  border: 1px solid #c8ccd4;
  border-radius: 3px;
  transition: background 0.1s ease;
  cursor: pointer;
  display: block;
}

.cbx:after {
  content: '';
  position: absolute;
  top: 2px;
  left: 8px;
  width: 7px;
  height: 14px;
  opacity: 0;
  transform: rotate(45deg) scale(0);
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transition: all 0.3s ease;
  transition-delay: 0.15s;
}

.lbl {
  margin-left: 5px;
  vertical-align: middle;
  cursor: pointer;
}

[id^="cbx"]:checked ~ .cbx {
  border-color: transparent;
  background: #6871f1;
  animation: jelly 0.6s ease;
}

[id^="cbx"]:checked ~ span {
  color: #6871f1;
}

[id^="cbx"]:checked ~ .cbx:after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.cntr {
  display: flex;
  align-items: center;
  position: relative;
  color: #111;
}

@keyframes jelly {
  from {
    transform: scale(1, 1);
  }

  30% {
    transform: scale(1.25, 0.75);
  }

  40% {
    transform: scale(0.75, 1.25);
  }

  50% {
    transform: scale(1.15, 0.85);
  }

  65% {
    transform: scale(0.95, 1.05);
  }

  75% {
    transform: scale(1.05, 0.95);
  }

  to {
    transform: scale(1, 1);
  }
}

.hidden-xs-up {
  display: none !important;
}

/* tabs css */
.tabs ul {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

ul li {
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
  list-style: none;
  cursor: pointer;
  border-radius: 25px;
}

.active-tab .text {
  background: hsl(345deg 100% 47%);
}

.active-tab .edge {
  background: linear-gradient(to left, hsl(340deg 100% 16%) 0%, hsl(340deg 100% 32%) 8%, hsl(340deg 100% 32%) 92%, hsl(340deg 100% 16%) 100%);
}

/* buttons css */
.button-group {
  text-align: center;
}

/* iframe css */
.iframe-box {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.iframe-box iframe {
  display: none;
  min-height: 600px !important;
}

.iframe-box .active-iframe {
  display: block;
  overflow-x: hidden;
  overflow-y: scroll;
  border: none;
}

/* bootstrap */
label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: bold;
}

.radio label,
.checkbox label {
  min-height: 20px;
  padding-left: 20px;
  margin-bottom: 0;
  font-weight: normal;
  cursor: pointer;
}

input[type='radio'],
input[type='checkbox'] {
  margin: 4px 0 0;
  margin-top: 1px \9;
  line-height: normal;
}

input[type='file'] {
  margin-top: 3px;
}

.radio input[type='radio'],
.radio-inline input[type='radio'],
.checkbox input[type='checkbox'],
.checkbox-inline input[type='checkbox'] {
  position: absolute;
  margin-left: -20px;
  margin-top: 4px \9;
}

.row {
  margin-left: -15px;
  margin-right: -15px;
  overflow: hidden;
}

.col-xs-1,
.col-sm-1,
.col-md-1,
.col-lg-1,
.col-xs-2,
.col-sm-2,
.col-md-2,
.col-lg-2,
.col-xs-3,
.col-sm-3,
.col-md-3,
.col-lg-3,
.col-xs-4,
.col-sm-4,
.col-md-4,
.col-lg-4,
.col-xs-5,
.col-sm-5,
.col-md-5,
.col-lg-5,
.col-xs-6,
.col-sm-6,
.col-md-6,
.col-lg-6,
.col-xs-7,
.col-sm-7,
.col-md-7,
.col-lg-7,
.col-xs-8,
.col-sm-8,
.col-md-8,
.col-lg-8,
.col-xs-9,
.col-sm-9,
.col-md-9,
.col-lg-9,
.col-xs-10,
.col-sm-10,
.col-md-10,
.col-lg-10,
.col-xs-11,
.col-sm-11,
.col-md-11,
.col-lg-11,
.col-xs-12,
.col-sm-12,
.col-md-12,
.col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

.pull-right {
  float: right !important;
}

.form-horizontal .radio,
.form-horizontal .checkbox {
  min-height: 27px;
}

.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 7px;
}

.form-group {
  margin-bottom: 15px;
}

.form-control {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.form-control-none {
  border: none;
  box-shadow: none;
  background: none;
  height: auto;
}

.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.table caption {
  line-height: 40px;
  font-size: 16px;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 1px solid #ddd;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th {
  background: #f5f5f5;
}

.table-bordered {
  border: 1px solid #ddd;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border: 1px solid #ddd;
}

.table-hover > tbody > tr:hover {
  background-color: #f5f5f5;
}

.panel {
  padding: 10px 15px 15px;
  margin-bottom: 18px;
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
  color: #333;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.panel .item {
  float: left;
  width: 600px;
  padding-left: 15px;
  padding-right: 15px;
}

.panel .item td {
  padding: 3px 2px;
}

.panel .item input,
.panel .item select {
  height: 24px;
}

.panel label {
  margin-left: 7px;
  font-weight: normal;
}

.panel label span,
.panel label input {
  vertical-align: middle;
}

.panel hr {
  margin: 30px 0;
  border: none;
  height: 1px;
  background: #f1daae;
}

textarea.form-control {
  height: auto;
}

@media (max-width: 767px) {
  .form-horizontal .form-group {
    text-align: center;
  }
  .tabs ul {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .checkbox-group {
    flex-wrap: wrap;
  }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  .button-box {
    display: flex;
    justify-content: center;
  }
  .tabs ul {
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }

  .form-horizontal .control-label {
    text-align: right;
    margin-bottom: 10px;
    padding-top: 7px;
  }
}

@media (min-width: 992px) {
  .col-md-1,
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-md-10,
  .col-md-11,
  .col-md-12 {
    float: left;
  }

  .col-md-12 {
    width: 100%;
  }

  .col-md-10 {
    width: 83.33333333%;
  }

  .col-md-8 {
    width: 66.66666667%;
  }

  .col-md-6 {
    width: 50%;
  }

  .col-md-5 {
    width: 41.66666667%;
  }

  .col-md-4 {
    width: 33.33333333%;
  }

  .col-md-2 {
    width: 16.66666667%;
  }

  .col-md-offset-5 {
    margin-left: 41.66666667%;
  }

  .col-md-offset-4 {
    margin-left: 33.33333333%;
  }
}

/* fixed */
.row:before,
.row:after {
  content: '';
  display: table;
}

.row:after {
  clear: both;
  overflow: hidden;
}

.row {
  zoom: 1;
}

.clearfix:before,
.clearfix:after {
  content: '';
  display: table;
}

.clearfix:after {
  clear: both;
  overflow: hidden;
}

.clearfix {
  zoom: 1;
}

.form-control {
  overflow: auto;
}

@media \0screen {
  .col-md-1,
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-md-10,
  .col-md-11,
  .col-md-12 {
    float: left;
  }

  .col-md-12 {
    width: 100%;
  }

  .col-md-10 {
    width: 83.33333333%;
  }

  .col-md-8 {
    width: 66.66666667%;
  }

  .col-md-6 {
    width: 50%;
  }

  .col-md-4 {
    width: 33.33333333%;
  }

  .col-md-2 {
    width: 16.66666667%;
  }

  .col-md-offset-5 {
    margin-left: 41.66666667%;
  }

  .col-md-offset-4 {
    margin-left: 33.33333333%;
  }

  .form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }

  .form-horizontal .control-label {
    text-align: right;
    margin-bottom: 10px;
    padding-top: 7px;
  }
}

@media screen\9 {
  .checkbox label {
    position: relative;
    *zoom: 1;
  }

  .checkbox label input {
    position: relative;
    top: -6px;
  }

  .col-md-1,
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-md-10,
  .col-md-11,
  .col-md-12 {
    float: left;
    padding: 0;
  }

  .col-md-12 {
    width: 96%;
  }

  .col-md-10 {
    width: 80%;
  }

  .col-md-8 {
    width: 64%;
  }

  .col-md-6 {
    width: 48%;
  }

  .col-md-4 {
    width: 32%;
  }

  .col-md-2 {
    width: 16%;
  }

  .col-md-offset-4 {
    margin-left: 33.8%;
  }

  .form-control {
    width: 90%;
    height: 22px;
    position: relative;
  }

  .form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }

  .form-horizontal .control-label {
    text-align: right;
    margin-bottom: 10px;
    padding-top: 7px;
  }
}

.mod-panel .hd {
  padding: 5px 0;
  margin-bottom: 20px;
}
.mod-panel h3,
.mod-panel h1 {
  line-height: 1.1;
  margin-bottom: 20px;
  text-align: center;
  font-size: 20px;
  color: #333;
}

.mod-panel .hd p {
  color: #888;
}

.mod-panel h4 {
  margin: 10px 0;
  line-height: 1.1;
  font-size: 18px;
}

.mod-panel .margin-wrap {
  padding: 10px 0;
  line-height: 32px;
}

.mod-panel .bd p {
  padding: 0 15px;
  margin-bottom: 10px;
  line-height: 40px;
}

.mod-panel .bg-success {
  background-color: #dff0d8;
}

.mod-panel .bg-fail {
  background-color: #f2dede;
}

.mod-panel .tips {
  position: relative;
  padding: 20px 15px;
  margin: 15px 0;
  border-left: 8px solid #eee;
  word-break: break-all;
}

.mod-panel .tips ul {
  list-style: disc inside;
}

.mod-panel .tips li {
  line-height: 25px;
  font-size: 14px;
}

.mod-panel code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  background-color: #f9f2f4;
  border-radius: 4px;
}

.mod-panel .text-center {
  text-align: center;
}

.mod-dialog .widget-container {
  width: 96%;
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  outline: 0;
}

.mod-dialog .widget-head {
  position: relative;
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
  line-height: 24px;
  font-size: 18px;
}

.mod-dialog .widget-head a {
  position: absolute;
  right: 20px;
  top: 15px;
  display: block;
  width: 24px;
  height: 24px;
  text-align: center;
  font-size: 22px;
  color: #666;
  text-decoration: none;
}

.mod-dialog .widget-body {
  padding: 15px;
}

.mod-dialog .widget-foot {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}

@media screen and (max-width: 1023px) {
  .table-bordered > thead > tr > th,
  .table-bordered > tbody > tr > th,
  .table-bordered > tfoot > tr > th,
  .table-bordered > thead > tr > td,
  .table-bordered > tbody > tr > td,
  .table-bordered > tfoot > tr > td {
    width: auto;
  }

  .panel .item {
    width: auto;
  }

  .panel .item input,
  .panel .item select {
    min-width: 56px;
  }

  .mod-panel .hd {
    padding: 0;
    margin-bottom: 10px;
  }

  .mod-panel h3,
  .mod-panel h1 {
    font-size: 18px;
  }
}
